package saer.send.now;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings("serial")
public class Error extends HttpServlet {

    private static final Logger log = Logger.getLogger(Error.class.getName());

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        log.log(Level.INFO, "Got Error request, req:{}", req);
        resp.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
    }

}
